package com.gzhryc.shared_device.oem.micro.api.dto.xcx.v1;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.List;

public class NearbyPlaceListResponse extends SecurityResponse<NearbyPlaceListResponse.Body> {

    private static final long serialVersionUID = 1L;

    public NearbyPlaceListResponse() {
        this.body = new Body();
    }

    public NearbyPlaceListResponse(Integer code, String msg) {
        this.body = new Body();
        this.code = code;
        this.msg = msg;
    }

    public static class Body implements Serializable {

        private List<Item> items;

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }
    }

    public static class Item {

        private Long placeId;
        private String placeName;
        private String province;
        private String address;
        private String contactPhone;
        private String routeInfo;
        private String workTimes;
        private Double longitude;
        private Double latitude;
        private Double distance;

        public Long getPlaceId() {
            return placeId;
        }

        public void setPlaceId(Long placeId) {
            this.placeId = placeId;
        }

        public String getPlaceName() {
            return placeName;
        }

        public void setPlaceName(String placeName) {
            this.placeName = placeName;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getContactPhone() {
            return contactPhone;
        }

        public void setContactPhone(String contactPhone) {
            this.contactPhone = contactPhone;
        }

        public String getRouteInfo() {
            return routeInfo;
        }

        public void setRouteInfo(String routeInfo) {
            this.routeInfo = routeInfo;
        }

        public String getWorkTimes() {
            return workTimes;
        }

        public void setWorkTimes(String workTimes) {
            this.workTimes = workTimes;
        }

        public Double getLongitude() {
            return longitude;
        }

        public void setLongitude(Double longitude) {
            this.longitude = longitude;
        }

        public Double getLatitude() {
            return latitude;
        }

        public void setLatitude(Double latitude) {
            this.latitude = latitude;
        }

        public Double getDistance() {
            return distance;
        }

        public void setDistance(Double distance) {
            this.distance = distance;
        }
    }
}
